import request from '@/utils/request'

//获取土地权属
export function landOwnership(data) {
  return request({
    url: '/renovation/acceptance/certificate/landOwnership',
    method: 'post',
    formData: data
  })
}

//生成pdf并下载
export function setDownload(data) {
  return request({
    url: '/renovation/acceptance/certificate/download',
    responseType:'blob',
    method: 'post',
    json: data
  })
}

//查询开发整理合格证信息
export function getDetail(data) {
  return request({
    url: '/renovation/acceptance/certificate/detail',
    method: 'post',
    formData: data
  })
}

//添加开发整理合格证信息
export function setAdd(data) {
  return request({
    url: '/renovation/acceptance/certificate/add',
    method: 'post',
    json: data
  })
}
